<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2009-12-13
  Time: 9:29:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/xml;charset=UTF-8" language="java" %>
<html>
  <head><title>Simple jsp page</title></head>
  <body>
      <words>
          <%  String word = request.getParameter("word");
              if("absolute".indexOf(word)!=-1){%>
          <word>absolute</word> <%}%>
          <%if("apple".indexOf(word)!=-1){%>
          <word>apple</word><%}%>
          <%if("and".indexOf(word)!=-1){%>
          <word>and</word><%}%>
          <%if("banana".indexOf(word)!=-1){%>
          <word>banana</word><%}%>
          <%if("but".indexOf(word)!=-1){%>
          <word>but</word> <%}%>
          <%if("breakfast".indexOf(word)!=-1){%>
          <word>breakfast</word><%}%>
          <%if("brand".indexOf(word)!=-1){%>
          <word>brand</word><%}%>
          <%if("cut".indexOf(word)!=-1){%>
          <word>cut</word><%}%>
          <%if("cigarette".indexOf(word)!=-1){%>
          <word>cigarette</word> <%}%>
      </words>
  </body>
</html>